package com.zzq.demo.hibernate.service;

import com.zzq.demo.hibernate.entity.Model;

import java.util.List;

/**
 * @author : zhaoziqian
 * @description :
 * @date : 2019/9/11 17:38
 */
public interface ModelService {

    void insertModel(Model model);

    List<Model> findAll();

    void updateModel(Long id,Model model);

    void deleteModel(Long id);
}
